package com.project.weather.service;

import java.util.List;
import com.project.weather.common.PageBean;
import com.project.weather.common.AResultCode;
import com.project.weather.common.ResultMap;
import com.project.weather.pojo.RoleBean;

/**
 *<p>Title:RoleService.java</p>
 *<p>Description:角色信息表Service</p>
 *@author xxx
 *@version 1.0
 *@Automatically generate by Coder in 2021-12-21 16:07
 */
public interface RoleService{
    /**
	*<b>Summary: 保存数据</b>
	* insert
	* @param bean
	* @return
	*/
	public ResultMap<AResultCode, RoleBean> insert(RoleBean bean);

	/**
    *<b>Summary: 更新数据</b>
    * update
    * @param bean
	* @return
    */
	public ResultMap<AResultCode, RoleBean> update(RoleBean bean);

	/**
    *<b>Summary: 删除数据</b>
    * delete
    * @param role_id
	* @return
    */
	public ResultMap<AResultCode, RoleBean> delete(String role_id);

	/**
    *<b>Summary: 分页查询列表数据</b>
    * pageList
    * @param pb
	* @return
    */
	public ResultMap<AResultCode, PageBean<RoleBean>> pageList(PageBean<RoleBean> pb);

	/**
    *<b>Summary: 查询列表数据</b>
    * list
    * @param bean
	* @return
    */
	public ResultMap<AResultCode, List<RoleBean>> list(RoleBean bean);

	/**
    *<b>Summary: 根据Id查询数据</b>
    * get
    * @param role_id
	* @return
    */
	public ResultMap<AResultCode, RoleBean> get(String role_id);

}